package com.lsq.baseadmin.modules.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.lsq.baseadmin.modules.manage.entity.User;
import com.lsq.baseadmin.modules.manage.vo.AuthUser;
import com.lsq.baseadmin.modules.manage.vo.UserVo;

import java.util.List;

/**
 * <p>
 * 系统用户 服务类
 * </p>
 *
 * @author lsq
 * @since 2020-10-29
 */
public interface UserService extends IService<User> {

    UserVo login(AuthUser authUser);

    List<User> list(User user);

    void add(UserVo userVo);

    void update(UserVo userVo);

    UserVo detail(int id);

    PageInfo pg(User user, int pageNum, int pageSize);
}
